package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Dict;

import java.util.List;

/**
 * 字典表 服务类
 * @author mi
 * @create 2023/3/6 13:22
 */
public interface DictService extends IService<Dict> {
    ResponseResult listDict(String name,Integer isPublish,String descColumn,String ascColumn);

    ResponseResult insertDict(Dict dict);

    ResponseResult updateDict(Dict dict);

    ResponseResult deleteDict(int id);

    ResponseResult deleteBatch(List<Long> ids);
}
